<?php
$cars = array ("张三","李四","王五");
//echo "$cars[2]</br>";
//$cars[1] = "阿六"."</br>";



//print_r($cars);
//echo count($cars);

foreach ($cars as $value) {
    echo $value;
}


$len = count($cars);
for ($i=0; $i<$len; $i++) {
    echo $cars[$i];
}
echo "</br>";
$message = array(
    "pic" => '<img src="images/3.jpg" alt="" />',
    "name" => "adsdsss",
    "content" => '天天好心情<span> (来自火星"女侠"的留言)</span>'  
);

foreach ($message as $key => $value) {
    echo $key ."=>" .$value . "</br>";
}

?>